import request from '@/config/axios'

export interface bindBoxCodeeVO {
  orderCode: string,
  type: string,
  code: string,
  specification: string,
  cartonCode: string
}

//查询
export const getbindBoxCode = (params: PageParam) => {
  return request.get({ url: '/project/order/createPreparationByOrderCode', params })
}

// 绑定箱码
export const bindBoxCodeEdit = (data: bindBoxCodeeVO) => {
  return request.post({ url: '/project/kis-materiel-ex-warehouse/bondCartonCode', data })
}